package com.sghd.charge.module.payment.iospay.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author frank
 * @date 2019-03-07 9:38
 * @desc
 **/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Receipt {

    @JsonProperty("receipt_type")
    private String receiptType;
    @JsonProperty("adam_id")
    private int adamId;
    @JsonProperty("app_item_id")
    private int appItemId;
    @JsonProperty("bundle_id")
    private String bundleId;
    @JsonProperty("application_version")
    private String applicationVersion;
    @JsonProperty("download_id")
    private int downloadId;
    @JsonProperty("version_external_identifier")
    private int versionExternalIdentifier;
    @JsonProperty("receipt_creation_date")
    private String receiptCreationDate;
    @JsonProperty("receipt_creation_date_ms")
    private Long receiptCreationDateMs;
    @JsonProperty("receipt_creation_date_pst")
    private String receiptCreationDatePst;
    @JsonProperty("request_date")
    private String requestDate;
    @JsonProperty("request_date_ms")
    private Long requestDateMs;
    @JsonProperty("request_date_pst")
    private String requestDatePst;
    @JsonProperty("original_purchase_date")
    private String originalPurchaseDate;
    @JsonProperty("original_purchase_date_ms")
    private Long originalPurchaseDateMs;
    @JsonProperty("original_purchase_date_pst")
    private String originalPurchaseDatePst;
    @JsonProperty("original_application_version")
    private String originalApplicationVersion;

    @JsonProperty("purchase_date_ms")
    private Long purchaseDateMs;
    @JsonProperty("unique_identifier")
    private String uniqueIdentifier;
    @JsonProperty("original_transaction_id")
    private String originalTransactionId;
    private String bvrs;
    @JsonProperty("transaction_id")
    private String transactionId;
    private String quantity;
    @JsonProperty("unique_vendor_identifier")
    private String uniqueVendorIdentifier;
    @JsonProperty("item_id")
    private String itemId;
    @JsonProperty("product_id")
    private String productId;
    @JsonProperty("purchase_date")
    private String purchaseDate;
    @JsonProperty("purchase_date_pst")
    private String purchaseDatePst;
    private String bid;
    @JsonProperty("in_app")
    private List<InApp> inApp;



    public String getReceiptType() {
        return receiptType;
    }

    public void setReceiptType(String receiptType) {
        this.receiptType = receiptType;
    }

    public int getAdamId() {
        return adamId;
    }

    public void setAdamId(int adamId) {
        this.adamId = adamId;
    }

    public int getAppItemId() {
        return appItemId;
    }

    public void setAppItemId(int appItemId) {
        this.appItemId = appItemId;
    }

    public String getBundleId() {
        return bundleId;
    }

    public void setBundleId(String bundleId) {
        this.bundleId = bundleId;
    }

    public String getApplicationVersion() {
        return applicationVersion;
    }

    public void setApplicationVersion(String applicationVersion) {
        this.applicationVersion = applicationVersion;
    }

    public int getDownloadId() {
        return downloadId;
    }

    public void setDownloadId(int downloadId) {
        this.downloadId = downloadId;
    }

    public int getVersionExternalIdentifier() {
        return versionExternalIdentifier;
    }

    public void setVersionExternalIdentifier(int versionExternalIdentifier) {
        this.versionExternalIdentifier = versionExternalIdentifier;
    }

    public String getReceiptCreationDate() {
        return receiptCreationDate;
    }

    public void setReceiptCreationDate(String receiptCreationDate) {
        this.receiptCreationDate = receiptCreationDate;
    }

    public Long getReceiptCreationDateMs() {
        return receiptCreationDateMs;
    }

    public void setReceiptCreationDateMs(Long receiptCreationDateMs) {
        this.receiptCreationDateMs = receiptCreationDateMs;
    }

    public String getReceiptCreationDatePst() {
        return receiptCreationDatePst;
    }

    public void setReceiptCreationDatePst(String receiptCreationDatePst) {
        this.receiptCreationDatePst = receiptCreationDatePst;
    }

    public String getRequestDate() {
        return requestDate;
    }

    public void setRequestDate(String requestDate) {
        this.requestDate = requestDate;
    }

    public Long getRequestDateMs() {
        return requestDateMs;
    }

    public void setRequestDateMs(Long requestDateMs) {
        this.requestDateMs = requestDateMs;
    }

    public String getRequestDatePst() {
        return requestDatePst;
    }

    public void setRequestDatePst(String requestDatePst) {
        this.requestDatePst = requestDatePst;
    }

    public String getOriginalPurchaseDate() {
        return originalPurchaseDate;
    }

    public void setOriginalPurchaseDate(String originalPurchaseDate) {
        this.originalPurchaseDate = originalPurchaseDate;
    }

    public Long getOriginalPurchaseDateMs() {
        return originalPurchaseDateMs;
    }

    public void setOriginalPurchaseDateMs(Long originalPurchaseDateMs) {
        this.originalPurchaseDateMs = originalPurchaseDateMs;
    }

    public String getOriginalPurchaseDatePst() {
        return originalPurchaseDatePst;
    }

    public void setOriginalPurchaseDatePst(String originalPurchaseDatePst) {
        this.originalPurchaseDatePst = originalPurchaseDatePst;
    }

    public String getOriginalApplicationVersion() {
        return originalApplicationVersion;
    }

    public void setOriginalApplicationVersion(String originalApplicationVersion) {
        this.originalApplicationVersion = originalApplicationVersion;
    }

    public Long getPurchaseDateMs() {
        return purchaseDateMs;
    }

    public void setPurchaseDateMs(Long purchaseDateMs) {
        this.purchaseDateMs = purchaseDateMs;
    }

    public String getUniqueIdentifier() {
        return uniqueIdentifier;
    }

    public void setUniqueIdentifier(String uniqueIdentifier) {
        this.uniqueIdentifier = uniqueIdentifier;
    }

    public String getOriginalTransactionId() {
        return originalTransactionId;
    }

    public void setOriginalTransactionId(String originalTransactionId) {
        this.originalTransactionId = originalTransactionId;
    }

    public String getBvrs() {
        return bvrs;
    }

    public void setBvrs(String bvrs) {
        this.bvrs = bvrs;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getUniqueVendorIdentifier() {
        return uniqueVendorIdentifier;
    }

    public void setUniqueVendorIdentifier(String uniqueVendorIdentifier) {
        this.uniqueVendorIdentifier = uniqueVendorIdentifier;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(String purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public String getPurchaseDatePst() {
        return purchaseDatePst;
    }

    public void setPurchaseDatePst(String purchaseDatePst) {
        this.purchaseDatePst = purchaseDatePst;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public List<InApp> getInApp() {
        return inApp;
    }

    public void setInApp(List<InApp> inApp) {
        this.inApp = inApp;
    }
}
